import request from '@/utils/request'

// 查询固废采集列表
export function listOpmEnvSoldTest(query) {
  return request({
    url: '/environment/opmEnvSoldTest/list',
    method: 'get',
    params: query
  })
}

// 查询固废采集详细
export function getOpmEnvSoldTest(id) {
  return request({
    url: '/environment/opmEnvSoldTest/' + id,
    method: 'get'
  })
}

// 新增固废采集
export function addOpmEnvSoldTest(data) {
  return request({
    url: '/environment/opmEnvSoldTest',
    method: 'post',
    data: data
  })
}

// 修改固废采集
export function updateOpmEnvSoldTest(data) {
  return request({
    url: '/environment/opmEnvSoldTest',
    method: 'put',
    data: data
  })
}

// 删除固废采集
export function delOpmEnvSoldTest(id) {
  return request({
    url: '/environment/opmEnvSoldTest/' + id,
    method: 'delete'
  })
}
